package com.rika.service.impl;

import com.rika.dao.SystemModelDao;
import com.rika.pojo.SystemModel;
import com.rika.service.SystemModelService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class SystemModelServiceImpl implements SystemModelService {
    @Resource
    private SystemModelDao systemModelDao;

    @Override
    public List<SystemModel> selectAll() {
        return systemModelDao.selectAll();
    }

    @Override
    public Integer selectByName(String modelName) {
        return systemModelDao.selectByName(modelName);
    }

    @Override
    public String selectByModelCode(Integer modelCode) {
        return systemModelDao.selectByModelCode(modelCode);
    }


}
